<?php
/**
 * ManiaLib - Lightweight PHP framework for Manialinks
 * 
 * @copyright   Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
 * @license     http://www.gnu.org/licenses/lgpl.html LGPL License 3
 * @version     $Revision: 481 $:
 * @author      $Author: maximeraoust $:
 * @date        $Date: 2011-01-07 14:43:25 +0000 (Fri, 07 Jan 2011) $:
 */
namespace ManiaLib\Log;

/**
 * Log config
 */
class Config extends \ManiaLib\Config\Configurable
{
	public $path;
	public $prefix;
	public $error = 'error.log';
	public $user = 'user-error.log';
	public $debug = 'debug.log';
	public $loader = 'loader.log';
	public $verbose = false;
	
	protected function validate()
	{
		$this->setDefault('path', defined('APP_PATH') ? APP_PATH.'logs/' : null);
	} 
}


?>